home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_11_06
/
1106040a
< prev
next >
Wrap
Text File
|
1993-04-10
|
419b
|
25 lines
void convolve_wave(const long int sequence_len,
const double *f,
const double *g,
double *y)
{
auto unsigned long int x,
n;
for (n = 0; n < sequence_len; n++)
{
y[n] = 0.0;
for (x = 0; x < n; x++)
{
y[n] += f[x] * g[n - x];
}
}
return;
}